/*
 * @Description: 全局mixin
 * @Author: 无痕
 * @Email: 350801869@qq.com
 * @Date: 2021-02-23 14:35:39
 * @LastEditTime: 2021-03-04 16:11:29
 * @LastEditors: 无痕
 */
import Toast from '../utils/toast';
import Dialog from '../utils/dialog';

const gobalMixin = {
  onLoad() {
    Toast.clear();
  },
  onUnload() {
    Toast.clear();
    Dialog.clear();
  },
};

export default gobalMixin;
